<?
require_once("../../resource/security/security.php");

$module_id	= 8;
$module_name= "Media";
//Check user login...
checkLogged();
//Check access module...
if(checkAccessModule($module_id) != 1) redirect($fs_denypath);

//Declare prameter when insert data
$fs_table					= "media";
$id_field					= "med_id";
$name_field					= "med_title";
$break_page					= "{---break---}";
$fs_insert_logo  			= 0;
$fs_fieldupload  			= "med_value";
$fs_filepath   			= "../../../pictures/media/";
$fs_extension   			= "gif,jpg,jpe,jpeg,png,swf";
$fs_filesize   			= 1000;
$follow_category			= true;

$arr_resize = array( "small_" => array("quality" => 100, "width" => 160, "height" => 160),
					 "medium_" => array("quality" => 100, "width" => 320, "height" => 320)
					);
?>